package com.guigu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class t_member implements Serializable {
    private int id;
    private String fileNumber;
    private String name;
    private String sex;
    private String idCard;
    private String phoneNumber;
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date regTime;
    private String password;
    private String email;
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date birthday;
    private String remark;
    private String marriageStatus;
    private String nation;
    private String career;
    private String nativePlace;
    private String educationLevel;
    private int roleId;
    private int age;
    private int filesStatac;
    @Override
    public String toString() {
        return "t_member{" +
                "id=" + id +
                ", fileNumber='" + fileNumber + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", regTime=" + regTime +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", birthday=" + birthday +
                ", remark='" + remark + '\'' +
                ", marriageStatus=" + marriageStatus +
                ", nation='" + nation + '\'' +
                ", career='" + career + '\'' +
                ", nativePlace='" + nativePlace + '\'' +
                ", educationLevel='" + educationLevel + '\'' +
                ", roleId=" + roleId +
                '}';
    }
}
